﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="LoanDelaysComments.ascx.cs" Inherits="LoanDelaysComments" %>
<%@ Register TagPrefix="ajax" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit"%>

<asp:UpdatePanel runat="server" ID="UpdatePanel">
    <ContentTemplate>

        <div>
            <asp:Label runat="server" Text="Discutie Noua:"></asp:Label>
            <asp:TextBox runat="server" ID="addNewGroupTextBox" Width="150px"></asp:TextBox>
            <asp:Button runat="server" Text="Salvare" ID="saveGroupButton" OnClick="saveGroupButton_Click" />
        </div>
        <div style="height:400px; width:100%;" runat="server" id="bodyMessageDiv" >
            <asp:HiddenField runat="server" ID="activePanelHiddenField" />
            <ajax:Accordion ID="delayMessagesAccordion" runat="server" SelectedIndex="-1" Width="100%"
            HeaderCssClass="Simple_accordionHeader" HeaderSelectedCssClass="Simple_accordionHeaderSelected"
            ContentCssClass="Simple_accordionContent" FadeTransitions="false" FramesPerSecond="40" 
            TransitionDuration="250" AutoSize="None" RequireOpenedPane="false" SuppressHeaderPostbacks="true"  >                            
        </ajax:Accordion>       
        </div>       

        <div style="height:180px;  width:100%; margin-bottom: 15px;">
            <asp:TextBox runat="server" ID="commentTextBox"  Width="80%" Height="150px" TextMode="MultiLine" />                 
            <br />
            <asp:Button ID="SaveMessageButton" runat="server" Text="Salveaza Messajul"  OnClick="SaveMessageButton_Click"  Width="150px" />      
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
